import request from "@/utils/request";

export function listOrder(query) {
  return request({
    url: 'api/order/list-order',
    method: 'get',
    params: query
  })
}

// 新增发票
export function addInvoice(data) {
  return request({
    url: 'api/invoice/apply-invoice',
    method: 'post',
    data: data
  })
}
